﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using BenCaoXuan.Infrastructure.Dto.Admin.Arrange;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Service.Interface.admin
{
    [Provider_]
    public interface I_Arrange_Service
    {
        /// <summary>
        /// 获取排班
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Arrange();

        /// <summary>
        /// 获取排班的员工
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Arrange_Employee();

        /// <summary>
        /// 获取员工的休息日
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_EmployeeRestDay();

        /// <summary>
        /// 设置排班
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Set_Arrange(List<SetArrange_Dto> dto);
       
        /// <summary>
        /// 设置员工休息日
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Set_EmployeeRestDay(SetRestDay_Dto dto);
        /// <summary>
        /// 编辑排班
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Update_Arrange(UpdateArrange_Dto dto);
    }
}
